﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>客户跟进历史</title>
    <#include "../common/link.ftl">
    <script>

    </script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <#include "../common/navbar.ftl">
    <!--菜单回显-->
    <#assign currentMenu="customerTraceHistory"/>

    <#include "../common/menu.ftl">
    <div class="content-wrapper">
        <section class="content-header">
            <h1>客户跟进历史</h1>
        </section>
        <section class="content">
            <div class="box">
                <div style="margin: 10px">
                    <!--高级查询--->
                    <form class="form-inline" id="searchForm" action="/customerTraceHistory/list" method="post">
                        <input type="hidden" name="currentPage" id="currentPage" value="1">
                        <div class="form-group">
                            <label for="keyword">用户/录入人:</label>
                            <input type="text" class="form-control" id="keyword" name="keyword" value="${qo.keyword!}" placeholder="请输入客户/录入人">
                        </div>
                        <button id="btn_query" class="btn btn-primary"><span class="glyphicon glyphicon-search"></span> 查询</button>
                    </form>
                </div>
                <!--编写内容-->
                <div class="box-body table-responsive no-padding ">
                    <table class="table table-hover table-bordered">
                        <tr>
                            <th>编号</th>
                            <th>跟进时间</th>
                            <th>跟进记录</th>
                            <th>交流方式</th>
                            <th>跟进结果</th>
                            <th>客户</th>
                            <th>录入人</th>
                            <th>录入时间</th>
                        </tr>
                        <#list pageInfo.list as customerTraceHistory>
                                <tr>
                                    <td>${customerTraceHistory_index+1}</td>
                                <#--<td>${customerTraceHistory?index+1}</td>-->
                                    <td>${(customerTraceHistory.traceTime?string("yyyy-MM-dd"))!}</td>
                                    <td>${customerTraceHistory.traceDetails!}</td>
                                    <td>${(customerTraceHistory.traceType.title)!}</td>
                                    <td>${(customerTraceHistory.traceResult.title)!}</td>
                                    <td>${customerTraceHistory.customer.name!}</td>
                                    <td>${customerTraceHistory.inputUser.name!}</td>
                                    <td>${(customerTraceHistory.inputTime?string("yyyy-MM-dd hh-mm-ss"))!}</td>
                                </tr>
                        </#list>
                    </table>
                    <!--分页-->
                    <#include "../common/page.ftl">
                </div>
            </div>
        </section>
    </div>
    <#include "../common/footer.ftl">
</div>
</body>
</html>
